<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <table>
        <tr>
            <th>学号</th>
            <th>学生姓名</th>
            <th>学生密码</th>
        </tr>

        <c:forEach var="s" items="${all}">
        <tr>
            <td>${s.id}</td>
            <td>${s.name}</td>
            <td>${s.password}</td>
            <td><a href="/deleteServlet?id=${s.id}">删除</a></td>
            <td><a href="/updateServlet?id=${s.id}">修改</a></td>
        </tr>
        </c:forEach>
    </table>
</body>
</html>
